package com.chucang.shucang.log.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.chucang.shucang.common.base.entity.LogBaseEntity;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 藏品寄售记录表
 *
 * @author flitsneak flitsneak@gmail.com
 * @since 1.0.0 2022-09-12
 */
@Data
@TableName("log_collection_consign_history")
public class CollectionConsignHistoryEntity extends LogBaseEntity implements Serializable {

    /**
     * 藏品id
     */
    private Long collectionId;
    /**
     * 卖家id
     */
    private Long sellerId;
    /**
     * 卖家姓名
     */
    private String sellerName;
    /**
     * 藏品编号
     */
    private Integer serialNum;
    /**
     * nft编号
     */
    private String nftId;
    /**
     * 购入价格
     */
    private BigDecimal purchasePrice;
    /**
     * 售价
     */
    private BigDecimal sellingPrice;
}